package com.example.spring.multi.module.logic.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 萌宠大类分类表
 * </p>
 *
 * @author Surging
 * @since 2024-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PetCategory extends Model<PetCategory> {

    private static final long serialVersionUID = 1L;

    /**
     * 萌宠类别ID
     */
    @TableId(value = "pet_category_id", type = IdType.AUTO)
    private Integer petCategoryId;

    private String petCategoryName;

    /**
     * 萌宠父类别id
     */
    private Integer petCategoryParentId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;


}
